package com.datawin.taotaocheche.comm;

import android.app.Activity;

import com.amap.api.location.AMapLocation;

import java.util.ArrayList;
import java.util.List;

import com.datawin.taotaocheche.bean.UserInfo;

/**
 * Created by admin on 2017/8/4.
 */

public class Constants {

    /**
     * 简单intent通用key
     */
    public final static String KEY = "data";

    /**
     * 拍照选取照片
     */

    public final static int REQUEST_CODE_CAMERA = 1000;
    public final static int REQUEST_CODE_GALLERY = 1001;

    public static Integer PAGESIZE=20;

    /**
     * 简单intent通用key
     */
//    public final static String SHAREURL = "http://ershouche.qunaerxue.cn/car/share.html";
    public final static String SHAREURL = RetrofitHelp.HTTP_URL + "/car/share.html";


    /**
     * 微信APPid
     */

    public static final String APP_ID = "wx94a459221a3bbdee";

    /**
     * 用户信息
     */

    public static UserInfo userInfo=new UserInfo();

    /**
     * 首页滚动是否显示1
     */
    public static boolean ISSHOW = true;

    /**
     * 简单intent通用key
     */
    public final static String KEYSTRING = "dataString";

    /**
     * 简单图片前缀路径
     */
    public final static String IMAGEURL = "http://ershouche.qunaerxue.cn/car";


    /**
     * activity集合 用于统一删除
     */
    public static List<Activity> activitys = new ArrayList<Activity>();

    /**
     * 获取验证码类型 1：注册，2：忘记密码，3：忘记支付密码 4绑定手机号
     */

    public static String[] CodeType = {"1", "2", "3", "4"};

    /**
     * 主页面 用于统一删除
     */
    public static List<Activity> registerActivity = new ArrayList<Activity>();


    /**
     * 简单intent通用key
     */
    public final static String REGISTERID = "";

    /**
     * 定位数据
     */
    public static AMapLocation location = null;


    //文件路径管理类
    public static class FilePath {
        public static final String ROOT_PATH = "wxr/";
        public static final String RECORD_DIR = "record/";
        public static final String RECORD_PATH = ROOT_PATH + RECORD_DIR;
    }


}
